x11: Do not misdetect mice with abs axes as touchscreens
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 13 Nov 2015 16:14:34 +0000 (17:14 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 15 Nov 2015 04:45:46 +0000 (23:45 -0500)
commitb32c7c3282cdef795159b0079bb5ebd72d2affbd
tree887edb79d67598963c1a7c986a80380dad950584
parentbc6d2d65fb5026d12adf88c6b111ef13095a0cc7
x11: Do not misdetect mice with abs axes as touchscreens

VMWare seems to create mouse devices with abs axes which confuses
our detection of single-touch touchscreens. Those have though a
name we can match on ("VirtualPS/2 VMware VMMouse"), it should
be pretty safe to assume that no real touchscreens have "mouse"
in their name...

https://bugzilla.gnome.org/show_bug.cgi?id=757358
gdk/x11/gdkdevicemanager-xi2.c